avg_5 = (269 + 621 + 182 + 537 + 366) / 5
print(300 < avg_5 <= 400)